import React from "react"
import { IRouteComponentProps } from "umi"
import { ModalContext } from "@ruler3d/mui"
import { Provider } from "@ruler3d/components"
const LayoutIndex: React.FC<IRouteComponentProps> = props => {
  return (
    <Provider>
      <ModalContext>{props.children}</ModalContext>
    </Provider>
  )
}

export default LayoutIndex
